﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ccit.ClassLibrary;

namespace Ccit.SysPlat.Organ
{
    /// <summary>
    /// Description: 系统平台组织机构-> 用户消息对象
    /// Author: tim 2010-02-10
    /// </summary>
    public class MsUser
    {
        #region static attributes
        /// <summary>
        /// 程序集名称
        /// </summary>
        public static string assemblyName = "Ccit.SysOrgan.dll";
        /// <summary>
        /// 类名
        /// </summary>
        public static string className = "Ccit.SysPlat.Organ.User";
        #endregion

        #region public attributes
        /// <summary>
        /// 用户Id
        /// </summary>
        public string userId { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string loginName { get; set; }

        /// <summary>
        /// 口令
        /// </summary>
        public string passWord { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string userName { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        public string userCode { get; set; }

        /// <summary>
        /// 身份认证锁启用标志
        /// </summary>
        public eTrueFalse ePassSign { get; set; }

        /// <summary>
        /// 身份认证锁号
        /// </summary>
        public string ePass { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public string orderNo { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public eTrueFalse delSign { get; set; }
        #endregion

        #region public extend attributes
        /// <summary>
        /// 所属机构
        /// </summary>
        public MsOrgan belongOrgan { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        public MsDept belongDept { get; set; }

        /// <summary>
        /// 所属职位
        /// </summary>
        public MsPos belongPos { get; set; }

        /// <summary>
        /// 所属级别
        /// </summary>
        public MsClass belongClass { get; set; }

        /// <summary>
        /// 在线状态
        /// </summary>
        public eTrueFalse onlineStatus { get; set; }

        /// <summary>
        /// 在线状态描述
        /// </summary>
        public string onlineDesc { get; set; }
        #endregion

        #region constructor
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public MsUser() { }
        #endregion
    }
}
